Skip to content

Conversation

@machshev
Copy link
Collaborator

@machshev machshev commented Nov 13, 2025

Refactor the EDA tool support utilities into a more structured plug-in system, with clearly defined interface to make it easier to implement further tool support and test the existing tool support.

  • Create the new EDA tool interface
  • Refactor the existing utility functions within sim_tools module to use the new plug-ins.
  • Add tests for the plug-ins
  • Refactor upstream to use the plug-ins directly

Fixes: #55

@machshev machshev marked this pull request as draft November 13, 2025 10:27
@machshev machshev force-pushed the tool_plugin branch 7 times, most recently from a52eff3 to 72c67a1 Compare November 13, 2025 14:02
`sim_tools` module contains functions that provide tool support.
This commit adds a `SimTool` `Protocol`, which clearly defines the
functions required to support an EDA tool in DVSim.

The functions found within the `sim_tools` module have been moved to
vendor specific modules containing a `SimTool` implementation. Supported
plugins can be retrieved with the `get_sim_tool_plugin` function.

`sim_tools` has been refactored to use the plugin.

Signed-off-by: James McCorrie <[email protected]>
@machshev machshev marked this pull request as ready for review November 13, 2025 14:50
@machshev
Copy link
Collaborator Author

machshev commented Nov 13, 2025

Locally generated report.

image

@gautschimi
Copy link

Locally generated report.
image

I assume this dataset was without coverage results (because they are missing in the graphic)

Copy link

@gautschimi gautschimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's much cleaner, and could be easily extended for another tool.

@phani-lowrisc phani-lowrisc self-requested a review November 13, 2025 15:20
@gautschimi
Copy link

Nice to have:

  • runtime could be in minutes if above 60s
  • same for simulation time ms and us

I think it used to be like this

@machshev
Copy link
Collaborator Author

image

Copy link
Contributor

@hcallahan-lowrisc hcallahan-lowrisc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this is much more structured.

@machshev machshev added this pull request to the merge queue Nov 13, 2025
Merged via the queue into lowRISC:master with commit b6416fa Nov 13, 2025
6 checks passed
@machshev machshev deleted the tool_plugin branch November 13, 2025 16:31
@machshev
Copy link
Collaborator Author

Thanks! Merging this now as I'd like to get it in before the nightly runs this evening...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VCS simtime not being parsed

3 participants